package liangtWorkSpace.integer;

/**
 * @ClassName SmallPineapple
 * @Description : 演示反射机制
 * @Author : LiangT
 * @Date : 2020/8/31 12:54
 */
public class SmallPineapple {

    public String name;
    public int age;
    private double wright;

    public SmallPineapple() {
    }

    public SmallPineapple(String name, int age) {
        this.name = name;
        this.age = age;
    }

    @Override
    public String toString() {
        return "SmallPineapple{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public double getWright() {
        return wright;
    }

    public void setWright(double wright) {
        this.wright = wright;
    }
}
